a = int(input("要输入几个整数："))
l0=[]
for i in range(a):
    b=input(f"请输入第{i+1}个整数：")
    l0.append(int(b))
l1=[]
while len(l0)>0:
    n = l0[0]
    for e in range(1,len(l0)):
        if n>l0[e]:
            n=l0[e]
    l1.append(n)
    l0.remove(n)
print(f"从小到大排序：{l1}")

